<!DOCTYPE html>
<html lang="en" data="">
	<head>
		<meta name="keywords" content="营圈网">
		<meta name="description" content="营圈网，一起来赢！">
		<title>${(ware.name)!""}
				<#if (ware.classId)??>|${(ware.className)!""}</#if>
				<#if (ware.typeId)??>|${(ware.typeName)!""}</#if>
				<#if (ware.categoryId)??>|${(ware.categoryName)!""}</#if>|营圈网，一起来赢！</title>
		<#include "/common/head.html">
	</head>

	<body>
		<!--头部-->
		<#include "/common/top-nav.html">
		<#import "/common/header.html" as header>
		<@header.header page="ware"/>

		<div class="home-section">
			<!--当前位置-->
			<div class="paper-current-main w">
				当前位置：
				<span><a href="/index.html">首页</a></span> > 
				<#if (ware.categoryId)??>&ensp;>&ensp;<span><a href="/ware/list/${(ware.categoryId)!0}.html">${(ware.categoryName)!""}</a></span></#if>
				<#if (ware.typeId)??>&ensp;>&ensp;<span><a href="/ware/list/${(ware.categoryId)!0}/${(ware.typeId)!0}.html">${(ware.typeName)!""}</a></span></#if>
				<#if (ware.classId)??>&ensp;>&ensp;<span><a href="/ware/list/${(ware.categoryId)!0}/${(ware.typeId)!0}/${(ware.classId)!0}.html">${(ware.className)!""}</a></span></#if>
				<#if (ware.id)??>&ensp;>&ensp;<span class="active"><a href="/ware/${(ware.id)!0}.html">${(ware.name)!""}</a></span></#if>
			</div>
			
			<!--内容-->
			<div class="productDeta-main w clearfix">
				<!--查看商品-->
				<div class="procDetailInner clearfix">
					<div class="procDeta-fl fl">
						<div class="preview">
							<div id="vertical" class="bigImg">
								<img width="400" height="400" alt="" id="midimg" src='${(ware.imageMain)?replace("_s.",".")!""}' />
								<div style="display:none;" id="winSelector"></div>
							</div>
							<div class="smallImg">
								<div class="scrollbutton smallImgUp disabled"></div>
								<div id="imageMenu">
									<ul>
									<#if ware.imageThumb??>
										<#assign index = 0>
										<#list ware.imageThumb?split(",") as img><li <#if index==0> id="onlickImg"</#if>><#assign index += 1><img src="${img}" width="68" height="68"></li></#list>
										</#if>
									</ul>
								</div>
								<div class="scrollbutton smallImgDown"></div>
							</div>
							<div id="bigView" style="display:none;"><img width="889" height="889" src=""></div>
						</div>
					</div>
					<div class="procDeta-fr fl">
						<h5 class="pr-title">${(ware.name)!""}</h5><br />
						<p class="pr-price-top">${(ware.summary)!""}</p>
						<div class="pr-price">
							<p class="pr-price-top">商品价格：<span>&yen;<i><#if ware.pricePromotional??>${(ware.pricePromotional)?string('0.00')}<#else>--</#if> </i> </span></p>
							<#if (ware.unitName)??><p class="pr-price-top">单位：${(ware.unitName)!""}</p></#if>
							<p class="pr-price-top clearfix">库存：<#if ware.numberInventory?? && ware.numberInventory lt 0>充足<#else>${(ware.numberInventory)!0}</#if></p>
						</div>
						<div class="promotion-main">
							<div class="promotion-fr fl" id="main">
								<div class="pr-quantity clearfix">
									<h5 class="fl">购买数量：</h5>
									<div class="choice fl">
										<a href="javascript:;" class="fl">-</a>
										<input id="goodsNum" type="text" class="fl" value="1">
										<a href="javascript:;" class="fl">+</a>
									</div>
									<div class="fl"><#if (ware.unitName)??> ${(ware.unitName)!""}</#if>
								</div>
								<div class="pr-button">
										<input type="button" value="加入购物车" class="join" wareId=${(ware.id)!0} wareImg="${(ware.imageMain)!""}" wareName="${(ware.name)!""}" warePrice="<#if ware.pricePromotional??>&yen;${(ware.pricePromotional)?string('0.00')}<#else>--</#if>">
								</div>
							</div>
						</div>
					</div>
				</div>
				<!--商品评论-->
				<div class="eva-comment">
					<div class="productDetaLeft fl" id="bestSelling">
						<dl class="proTop10">
							<dt><i></i>本类推荐商品</dt>
							<#if recommends?? && recommends?size gt 0>
							<#list recommends as item>
							<#if item_index lt 3>
							<dd class="top10Item">
								<a href="detail.html">
									<div class="img-parent fl">
										<img src="${(item.imageMain)!""}">
										<span>${item_index}</span>
									</div>
									<div class="top10Item-fr fl product-top10">
										<p>${(item.name)!""}</p>
										<span><#if item.pricePromotional??>&yen;${(item.pricePromotional)?string('0.00')}<#else>--</#if></span>
									</div>
								</a>
							</dd>
							<#else>
							<dd class="clearfix top10Item2">
								<span class="fl">${item_index}</span>
								<a href="detail.html" class="fl">${(item.name)!""}</a>
							</dd>
							</#if>
							</#list>
							<#else>
							<dd class="clearfix top10Item2" style="text-align:center;">本类暂无推荐商品</dd>
							</#if>
						</dl>
					</div>

					<!--商品介绍记录-->
					<div class="productDetafr fr">
						<ul class="prod-title clearfix">
							<li class="fl active">商品介绍</li>
						</ul>
						<!--介绍-->
						<dl class="pro-comment active">
							<dt class="clearfix">
								<ol class="fl three">
									<li>分类： 
									<#if (ware.categoryId)??><span><a href="/ware/list/${(ware.categoryId)!0}.html">${(ware.categoryName)!""}</a></span></#if>
									<#if (ware.typeId)??>&ensp;>&ensp;<span><a href="/ware/list/${(ware.categoryId)!0}/${(ware.typeId)!0}.html">${(ware.typeName)!""}</a></span></#if>
									<#if (ware.classId)??>&ensp;>&ensp;<span><a href="/ware/list/${(ware.categoryId)!0}/${(ware.typeId)!0}/${(ware.classId)!0}.html">${(ware.className)!""}</a></span></#if>
									</li>
									<#if (ware.brandId)??>
									<li>品牌：${(ware.brandName)!""} </li>
									</#if>
									<li>商品名称：${(ware.name)!""}</li>
								</ol>
							</dt>
							<dd class="introduce">${(ware.description)!""}</dd>
						</dl>
					</div>
				</div>
			</div>
		</div>
	
		<!--尾部-->
		<#include "/common/footer.html">
		<script type="text/javascript" src="http://static.yqw.com/js/biz/cartAdd.js"></script>
		<script type="text/javascript" src="http://static.yqw.com/js/evaluate.js">
	</body>

</html>